package com.momoda.monitor.common.filemonitor;

public class TestFileMonitor {

    public static void main(String[] args) {
        String absolutePath = "D:/SFTP/clients/ThingJS/13687/12345/index.json";
        if (absolutePath.startsWith("D:/SFTP/clients/ThingJS/")) {
            absolutePath = absolutePath.replaceAll("D:/SFTP/clients/ThingJS/", "");
            absolutePath = absolutePath.substring(0, absolutePath.indexOf("/"));
            System.out.println(absolutePath);

        }
    }}